package com.shop.cereshop.app.dl.logic.service.Impl;

import com.shop.cereshop.app.dao.dl.CereShopCarouselMapper;
import com.shop.cereshop.app.dl.logic.domain.CereShopCarousel;
import com.shop.cereshop.app.dl.logic.service.CereShopCarouselService;
import com.shop.cereshop.app.dl.logic.utils.ResultInfo;
import com.shop.cereshop.app.page.product.BuyerComment;
import com.shop.cereshop.app.page.product.CommentWord;
import com.shop.cereshop.app.service.buyer.CereBuyerCommentLikeService;
import com.shop.cereshop.app.service.product.CereCommentWordService;
import com.shop.cereshop.app.service.shop.CereShopCommentService;
import com.shop.cereshop.commons.domain.buyer.CereBuyerCommentLike;
import com.shop.cereshop.commons.domain.buyer.CereBuyerUser;
import com.shop.cereshop.commons.utils.EmptyUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: dlshop
 * 描述：
 * @author: 我好帅
 * @create: 2021-07-06 19:02
 **/
@Service
public class CereShopCarouselServiceImpl implements CereShopCarouselService {
    @Autowired
    private CereShopCarouselMapper cereShopCarouselMapper;
    @Autowired
    private CereShopCommentService cereShopCommentService;
    @Autowired
    private CereBuyerCommentLikeService cereBuyerCommentLikeService;
    @Autowired
    private CereCommentWordService cereCommentWordService;

    @Override
    public ResultInfo getCarousel() {
        List<CereShopCarousel> list = cereShopCarouselMapper.getCarousel();
        return new ResultInfo(list);
    }
}
